﻿using Volo.Abp.Application.Services;
using System;
using System.Collections.Generic;
using System.Text;
using WisDom.SmartTMS.Dto;
using System.Threading.Tasks;

namespace WisDom.SmartTMS.InterFace
{
    /// <summary>
    /// 人事入职接口AppService接口
    /// </summary>
    public interface IPersonnelEntryAppService
    {

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="materialDto"></param>
        /// <returns></returns>
        Task<PersonnelEntryDtoCreate> Add(PersonnelEntryDtoCreate leaveDealDtoCreate);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task Delete(Guid id);

        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<PersonnelEntryDto> Edit(Guid id);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="material"></param>
        /// <returns></returns>
        Task<PersonnelEntryDto> Upt(PersonnelEntryDto personnelEntryDto);
    }
}
